package lava.rt.wrapper;

public class SqlBufferWrapper extends BaseWrapper<StringBuffer>{


	public SqlBufferWrapper() {
		super(new StringBuffer());
	}
	
	public SqlBufferWrapper(String content) {
		super(new StringBuffer(content));
	}
	
	public SqlBufferWrapper(StringBuffer self) {
		super(self);
	}

	public SqlBufferWrapper append(String content) {
		 this.self.append(content);
		 return this;
	}
	
	public SqlBufferWrapper appendUpdate() {
		 this.append(" update ");
		 return this;
	}
	
	public SqlBufferWrapper appendSet() {
		 this.append(" set ");
		 return this;
	}
	
	public SqlBufferWrapper appendDelete() {
		 this.append(" delete ");
		 return this;
	}
	
	public SqlBufferWrapper appendInsert() {
		 this.append(" insert ");
		 return this;
	}
	
	public SqlBufferWrapper appendWhere() {
		 this.append(" where ");
		 return this;
	}
	
	public SqlBufferWrapper appendSelect() {
		 this.append(" select ");
		 return this;
	}
	
	public SqlBufferWrapper appendAnd() {
		 this.append(" and ");
		 return this;
	}
	
	public SqlBufferWrapper appendOr() {
		 this.append(" or ");
		 return this;
	}
	
	public SqlBufferWrapper appendJoin() {
		 this.append(" join ");
		 return this;
	}
}
